# -*- coding: utf-8 -*-
from rest_framework import routers
from apps.project.views import *
from django.urls import path,re_path
system_url = routers.SimpleRouter()
system_url.register(r'project', ProjectViewSet)
system_url.register(r'customer', CustomerViewSet)
system_url.register(r'store', StoreViewSet)
urlpatterns = [
     re_path('upload/', ProjectViewSet.as_view({'post':'upload'}), name='cad上传'),
]
urlpatterns += system_url.urls
